package com.ynet.finmall.company.model;

import java.io.Serializable;
import java.util.Date;

public class ImRoleProject implements Serializable {
    /**
     * 角色项目ID
     */
    private String roleProjectId;

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 菜单ID
     */
    private String menuId;

    /**
     * 0：正常 1：删除 2：停用
     */
    private String status;

    /**
     * 记录创建时间
     */
    private Date createTime;

    /**
     * 记录更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getRoleProjectId() {
        return roleProjectId;
    }

    public void setRoleProjectId(String roleProjectId) {
        this.roleProjectId = roleProjectId == null ? null : roleProjectId.trim();
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId == null ? null : menuId.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleProjectId=").append(roleProjectId);
        sb.append(", roleId=").append(roleId);
        sb.append(", projectId=").append(projectId);
        sb.append(", menuId=").append(menuId);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}